package com.ruipeng.shengyapo.utils;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.UUID;

public class ContentUtils {

	public final static String WX_REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
	public final static String WB_REFUND_URL = "";

	/** 酒店类别： 0： "自营" */
	public final static String HOTEL_TP_0 = "0";
	/** 酒店类别： 1："授权" */
	public final static String HOTEL_TP_1 = "1";
	
	/**
	 * 酒店类别集合{"0"： "自营"， "1"： "授权"}
	 */
	@SuppressWarnings("serial")
	public final static Map<String, String> HOTEL_TP_MAP = new HashMap<String, String>(){
		{
			put(HOTEL_TP_0, "自营");
			put(HOTEL_TP_1, "授权");
		}
	};
	
	/** 订单类别： 0： "预约" */
	public final static String ORDER_TP_0 = "0";
	/** 订单类别： 1："小订" */
	public final static String ORDER_TP_1 = "1";
	/** 订单类别： 2："大订" */
	public final static String ORDER_TP_2 = "2";
	
	/**
	 * 订单类别集合{"0"： "预约"， "1"： "小订"， "2"： "大订"}
	 */
	@SuppressWarnings("serial")
	public final static Map<String, String> ORDER_TP_MAP = new HashMap<String, String>(){
		{
			put(ORDER_TP_0, "预约");
			put(ORDER_TP_1, "小订");
			put(ORDER_TP_2, "大订");
		}
	};
	
	/** 区域东Id: 1  */
	public final static String AREA_EAST = "1";
	/** 区域南Id: 2  */
	public final static String AREA_SOUTH = "2";
	/** 区域西Id: 3  */
	public final static String AREA_WEST = "3";
	/** 区域北Id: 4  */
	public final static String AREA_NORTH = "4";
	/** 区域北Id: 5  */
	public final static String AREA_KCENTER = "5";
	/**
	 * 区域集合{"1"： "东区"， "2"： "南区"，"3"： "西区"， "4"： "北区"}
	 */
	@SuppressWarnings("serial")
	public final static Map<String, String> AREA_4_HOTEL_LIST = new LinkedHashMap<String, String>(){
		{
			put(AREA_EAST, "东区");
			put(AREA_SOUTH, "南区");
			put(AREA_WEST, "西区");
			put(AREA_NORTH, "北区");
		}
	};
	/**
	 * 区域集合{"1"： "东区"， "2"： "南区"，"3"： "西区"， "4"： "北区","5":"体验中心"}
	 */
	@SuppressWarnings("serial")
	public final static Map<String, String> AREA_4_USER_LIST = new LinkedHashMap<String, String>(){
		{
			put(AREA_EAST, "东区");
			put(AREA_SOUTH, "南区");
			put(AREA_WEST, "西区");
			put(AREA_NORTH, "北区");
			put(AREA_KCENTER, "体验中心");
		}
	};
	/** 总管理员 角色 Id: 1  */
	public final static int SYS_ADMIN_ROLE = 1;
	/** 客服（档期） 角色 Id: 2  */
	public final static int SYS_SERVER_ROLE = 2;
	/** 销售 角色 Id: 3  */
	public final static int SYS_SALE_ROLE = 3;
	/** 企划部 角色 Id: 4  */
	public final static int SYS_PLAN_ROLE = 4;
	
	/** 通用停用状态： "0"： "停用" */
	public final static String COMM_STOP_STATE = "0";
	/** 通用启用状态： "1"："启用" */
	public final static String COMM_START_STATE = "1";
	
	/** 请求状态： false： "失败" */
	public final static boolean COMM_STATE_FALSE = false;
	/** 请求状态： true："成功" */
	public final static boolean COMM_STATE_TRUE = true;
	
	/**
	 * 通用停用启用状态集合{"0"： "停用"， "1"： "启用"}
	 */
	@SuppressWarnings("serial")
	public final static Map<String, String> COMM_STOP_START_STATE_MAP = new HashMap<String, String>(){
		{
			put(COMM_STOP_STATE, "停用");
			put(COMM_START_STATE, "启用");
		}
	};
	
	/** 通用隐藏状态： "0"： "隐藏" */
	public final static String COMM_HIDE_STATE = "0";
	/** 通用显示状态： "1"："显示" */
	public final static String COMM_SHOW_STATE = "1";
	
	/**
	 * 通用隐藏显示状态集合{"0"： "隐藏"， "1"： "显示"}
	 */
	@SuppressWarnings("serial")
	public final static Map<String, String> COMM_HIDE_SHOW_STATE_MAP = new HashMap<String, String>(){
		{
			put(COMM_HIDE_STATE, "隐藏");
			put(COMM_SHOW_STATE, "显示");
		}
	};
	
	/** 预约状态"0": "已取消" */
	public final static String ORDER_STATE_CANCEL = "0";
	/** 预约状态：“1”: "预约中" */
	public final static String ORDER_STATE_ORDERING = "1";
	/** 预约状态： "2":"已预约" */
	public final static String ORDER_STATE_ORDERED = "2";
	/** 预约状态： "3":"已停用" */
	public final static String ORDER_STATE_STOP = "3";
	
	/**
	 * 预约状态"0": "已取消",“1”: "预约中","2":"已预约","3":"已停用"
	 */
	@SuppressWarnings("serial")
	public final static Map<String, String> ORDER_STATE_MAP = new HashMap<String, String>(){
		{
			put(ORDER_STATE_CANCEL, "已取消");
			put(ORDER_STATE_ORDERING, "预约中");
			put(ORDER_STATE_ORDERED, "已预约");
			put(ORDER_STATE_STOP, "已停用");
		}
	};
	
	/** 业绩类型"0": "月" */
	public final static String TEAM_PERFORMANCE_MONTH = "0";
	/** 业绩类型"1": "年" */
	public final static String TEAM_PERFORMANCE_YEAR = "1";
	
	/**
	 * 获取UUID 如：“14715be2-550c-4c33-a5a1-884a9a19dd57” 去除  “-”
	 * @return
	 */
	public final static String getUUID(){
		return UUID.randomUUID().toString().replace("-", "");
	}
}
